package cc.ycws.core.domain;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import com.alibaba.fastjson.annotation.JSONField;

/**
  * <p>
  * 小区表
  * </p>
  *
  * @author tutu
  * @since 2018-05-22
  */
@TableName("mdm_community")
public class MdmCommunity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 小区编号
     */
    @TableField("community_no")
    private String communityNo;

    /**
     * 小区名称
     */
    @TableField("community_name")
    private String communityName;

    /**
     * 物业编号
     */
    @TableField("property_no")
    private String propertyNo;

    /**
     * 海纳系统的物业编号
     */
    @TableField("hn_community_id")
    private String hnCommunityId;

    /**
     * 是否免费(0=免费,1=收费)
     */
    @TableField("free_status")
    private String freeStatus;

    /**
     * 小区地址
     */
    @TableField("community_address")
    private String communityAddress;

    /**
     * 经度
     */
    private Double longitude;

    /**
     * 纬度
     */
    private Double latitude;

    /**
     * 建档人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String creator;

    /**
     * 建档时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "create_time", fill = FieldFill.INSERT_UPDATE)
    private Date createTime;

    /**
     * 修改人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String modifier;

    /**
     * 修改时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "modify_time", fill = FieldFill.INSERT_UPDATE)
    private Date modifyTime;

    /**
     * 备注
     */
    private String remarks;

    public Integer getId() {
    return id;
    }

    public void setId(Integer id) {
    this.id = id;
    }
    public String getCommunityNo() {
    return communityNo;
    }

    public void setCommunityNo(String communityNo) {
    this.communityNo = communityNo;
    }
    public String getCommunityName() {
    return communityName;
    }

    public void setCommunityName(String communityName) {
    this.communityName = communityName;
    }
    public String getPropertyNo() {
    return propertyNo;
    }

    public void setPropertyNo(String propertyNo) {
    this.propertyNo = propertyNo;
    }
    public String getHnCommunityId() {
    return hnCommunityId;
    }

    public void setHnCommunityId(String hnCommunityId) {
    this.hnCommunityId = hnCommunityId;
    }
    public String getFreeStatus() {
    return freeStatus;
    }

    public void setFreeStatus(String freeStatus) {
    this.freeStatus = freeStatus;
    }
    public String getCommunityAddress() {
    return communityAddress;
    }

    public void setCommunityAddress(String communityAddress) {
    this.communityAddress = communityAddress;
    }
    public Double getLongitude() {
    return longitude;
    }

    public void setLongitude(Double longitude) {
    this.longitude = longitude;
    }
    public Double getLatitude() {
    return latitude;
    }

    public void setLatitude(Double latitude) {
    this.latitude = latitude;
    }
    public String getCreator() {
    return creator;
    }

    public void setCreator(String creator) {
    this.creator = creator;
    }
    public Date getCreateTime() {
    return createTime;
    }

    public void setCreateTime(Date createTime) {
    this.createTime = createTime;
    }
    public String getModifier() {
    return modifier;
    }

    public void setModifier(String modifier) {
    this.modifier = modifier;
    }
    public Date getModifyTime() {
    return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
    this.modifyTime = modifyTime;
    }
    public String getRemarks() {
    return remarks;
    }

    public void setRemarks(String remarks) {
    this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "MdmCommunity{" +
                "id=" + id +
                ", communityNo=" + communityNo +
                ", communityName=" + communityName +
                ", propertyNo=" + propertyNo +
                ", hnCommunityId=" + hnCommunityId +
                ", freeStatus=" + freeStatus +
                ", communityAddress=" + communityAddress +
                ", longitude=" + longitude +
                ", latitude=" + latitude +
                ", creator=" + creator +
                ", createTime=" + createTime +
                ", modifier=" + modifier +
                ", modifyTime=" + modifyTime +
                ", remarks=" + remarks +
        "}";
    }
}
